You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <pages>
      <page pageid="1010" ns="0" title="Main Page">
        <revisions>
          <rev user="Olebr" comment="Olebr moved page [[Main Page]] to [[DTU Compute ITS Wiki]]" />
        </revisions>
      </page>
    </pages>
    <general mainpage="Main Page" base="https://itswiki.compute.dtu.dk/index.php/Main_Page" sitename="ITSwiki" logo="/images/logo.png" generator="MediaWiki 1.22.0" phpversion="5.3.3" phpsapi="apache2handler" dbtype="mysql" dbversion="5.1.73" imagewhitelistenabled="" langconversion="" titleconversion="" linkprefix="" linktrail="/^([a-z]+)(.*)$/sD" case="first-letter" rights="" lang="en" fallback8bitEncoding="windows-1252" writeapi="" timezone="Europe/Berlin" timeoffset="120" articlepath="/index.php/$1" scriptpath="" script="/index.php" variantarticlepath="" server="https://itswiki.compute.dtu.dk" wikiid="wikidb-its_" time="2024-04-27T06:33:12Z" maxuploadsize="104857600">
      <fallback />
    </general>
  </query>
</api>